package com.atguigu.gmall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Auther 赵乾坤
 * @Date 202com.atguigu.gmall.rabbitmq.config0-12-19 14:44
 */
@SpringBootApplication
@ComponentScan({"com.atguigu.gmall"})//不可以注释掉，因为要扫很多类
@EnableDiscoveryClient
public class ServiceProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceProductApplication.class, args);
    }
}
